<template>
	<view class="qyScreenBg" :class="[needRadFlag ? 'hasRad' : '']" :style="{height:(windowHeight - navHeight) + 'px'}">
		<slot/>
		<!-- <view class="formContent posAbso" v-if="formFlag">
			<scroll-view class="scrollView" scroll-y>
				<slot name="formContent"/>
				<slot name="formRes"/>
				<view class="btnWrap" v-if="needBtnFlag">
					<slot name="formBtn"/>
				</view>
			</scroll-view>
		</view> -->
	</view>
</template>

<script>
	import { systemInfo } from '@/mixins/systemInfo.js'
	export default {
		mixins:[systemInfo],
		props:{
			needRadFlag:{
				type:Boolean,
				default:true
			}
		},
		mounted(){
			this.getSystemInfo();
		}
	}
</script> 

<style lang="scss" scoped>
	.qyScreenBg{
		background: #fff;
		&.hasRad{
			border-radius: 20rpx 20rpx 0 0;
		}
	}
</style>